#include "includes.h"
#include "cJSON.h"

int main(void)
{
    char *string = NULL;
    cJSON *root = NULL;
    root = cJSON_CreateObject();
    if(!root){
        return 0;
    }

    double number = 100.2;
    cJSON_AddNumberToObject(root, "t", number);
    string = cJSON_Print(root);
    if(string){
        printf("%s\r\n", string);
    }
    return 0;
}
